package com.linghang.association.mapper;

import com.linghang.association.domain.Minister;
import com.linghang.association.domain.MinisterExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MinisterMapper {
    long countByExample(MinisterExample example);

    int deleteByExample(MinisterExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Minister record);

    int insertSelective(Minister record);

    List<Minister> selectByExample(MinisterExample example);

    Minister selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Minister record, @Param("example") MinisterExample example);

    int updateByExample(@Param("record") Minister record, @Param("example") MinisterExample example);

    int updateByPrimaryKeySelective(Minister record);

    int updateByPrimaryKey(Minister record);
}